package dev

import "fmt"

type Conn interface {
	Connect()
}

type Curd interface {
	Curd()
}

type Mysql struct {
	Host string
	Port int
	UserNmme string
	Password string
	Database string
}

type Sql struct {
	Sql string
}

func (param *Mysql) Connect()  {
	fmt.Printf("数据库连接成功，host:%s, port:%d\n", param.Host, param.Port)
}

func (sql *Sql) Curd() {
	fmt.Printf("执行成功，sql:%s\n", sql.Sql)
}